package com.cl.controller;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class Asd {
	@Autowired
	private SessionFactory sf;
	
	@RequestMapping("test")
	public  ModelAndView test() {
		//return "success.html";
		
		
		ModelAndView md = new ModelAndView("success.html");
		return md;
	}
	
}
